/**
 通过关键字查找code
 用法 findCode(keywords, subdistrict,filter)
 高德地图：https://lbs.amap.com/api/webservice/guide/api/district
  */
export default findCode

	// 找到key
	function findCode (keywords, subdistrict,filter) {
	  uni.request({
	  	url: 'https://restapi.amap.com/v3/config/district?parameters',
	  	data: {
	  		key: 'd73cc951a96637a251a9a2446b48ce9c',
	  		keywords: keywords ,
	  		subdistrict: subdistrict,
	  		filter: filter,
	  	},
	  	success: res => {
	  		// console.log('22222',this.lng ,this.lat,  res)
	  	}
	  })
	}